package com.fh.shop.api.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderVo implements Serializable {

    private String id;

    private String totalPrice;

    private Integer totalCount;

    private String recipientName;
    private String addr;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") // 后台向前台响应Json数据的时候
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") // 后台向前台响应Json数据的时候
    private Date payTime;

    private Integer status;
}
